package com.bawei.java.annotation;

/**
 * @Author : yaotianxue
 * @Time : On 2023/5/24 13:45
 * @Description : Student
 */
@MyTable(name = "student")
public class Student {
    @MyTable(name = "name")
    private String name;
    private int age;
    @MyTable
    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
    @MyTable
    public void showName(){
        System.out.println("showName: "+name);

    }
}
